package edu.zhku.ttms.view.frame;

import com.formdev.flatlaf.FlatDarculaLaf;
import com.formdev.flatlaf.FlatLightLaf;

import javax.swing.*;

/**
 * @author Feng
 * @since 2021/4/19 19:40
 */

public class MainFrame extends JFrame {

    public MainFrame() {
        try {
            UIManager.setLookAndFeel(new FlatLightLaf());
        } catch(Exception e) {
            e.printStackTrace();
        }
        setTitle("交通罚单管理系统");
        setBounds(300, 200, 960, 540);
        setResizable(false);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}